export interface FillQuestion {
  id: string | number;
  type: number;
  title: Array<{ type: string; content?: string; inputIndex?: number }>;
  bgSound: string;
  content?: string;
  answer?: string;
}

export interface MapItem {
  type: number;
  inputIndex?: number;
  content?: string;
  answer?: string;
}

export interface MapQuestion {
  id: string | number;
  type: number;
  img: string;
  bgSound: string;
  questionList: Array<MapItem>;
}

export interface LongPicItem {
  title: Array<{ type: string; content?: string; inputIndex?: number }>;
  bgSound: string;
  content?: Array<string>;
  answer?: Array<string>;
}

export interface LongPicQuestion {
  id: string | number;
  type: number;
  img: string;
  questionList: Array<LongPicItem>;
}

export interface Question {
  id: string | number;
  type: number;
  bgSound: string;
}

export interface DragQuestion extends Question {
  questionList?: Array<string>;
  answer?: Array<{ text: string; x: number; y: number; oldX: number; oldY: number; show: boolean }>;
}
